package com.bunnyhsu.mapper;

import com.bunnyhsu.model.Committer;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by xl on 2018/4/10.
 */
@Repository
public interface CommitterMapper {
    Committer selectCommitter(@Param("id") String id);
    Integer updateCommitter(@Param("nickname")String nickname, @Param("id") String id,
                            @Param("image")String image);
    Integer insertCommitter(@Param("nickname")String nickname, @Param("id") String id,
                            @Param("image")String image);
}
